package com.fjec.market.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fjec.common.protocol.JsonResult;
import com.fjec.market.entity.BizPurchasing;

import java.util.List;

/**
 * <p>
 * 007.采购商采购需求表 服务类
 * </p>
 *
 * @author admin
 * @since 2020-09-14
 */
public interface IBizPurchasingService extends IService<BizPurchasing> {
    List<BizPurchasing> getPurchasingByUserId(Long userId);

    JsonResult savePurchasing(BizPurchasing bizPurchasing, Long userId);

    JsonResult getMyPurchasing();

    List<BizPurchasing> get2PurchasingByPurchaseIds(List<Long> purchaseIds);

    List<BizPurchasing> getPurchasingByPurchaseIds(List<Long> purchaseIds);
}
